package com.jxbeidou.system.menu.convert;

import com.jxbeidou.system.menu.entity.RoleDataScopeDO;
import com.jxbeidou.system.menu.vo.RoleDataScopeVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 角色数据权限表
*
* @author 杜晓祥 
* @since 1.0.0 2023-12-14
*/
@Mapper
public interface RoleDataScopeConvert {
    RoleDataScopeConvert INSTANCE = Mappers.getMapper(RoleDataScopeConvert.class);

    RoleDataScopeDO convert(RoleDataScopeVO vo);

    RoleDataScopeVO convert(RoleDataScopeDO entity);

    List<RoleDataScopeVO> convertList(List<RoleDataScopeDO> list);

}